package action.chap10;

import java.time.LocalDate;

/**
 * @program: study-java8
 * @description:
 * @author: Sun Feng
 * @create: 2020-06-03 16:21
 **/
public class TestDayOfWeek {
    public static void main(String[] args) {

//        MONDAY,
//
//                TUESDAY,
//
//                WEDNESDAY,
//
//                THURSDAY,
//
//                FRIDAY,
//
//                SATURDAY,
//
//                SUNDAY;
        LocalDate date1 = LocalDate.now();
        System.out.println(date1);
        LocalDate date2 = date1.with(new NextWorkingDay());
        System.out.println(date2);
    }
}
